Skip to content

Upgrade Go SDK to v0.111.0#4583

Merged
simonfaltum merged 2 commits intomainfrom
simonfaltum/sdk-bump-v0.111.0
Feb 24, 2026
Merged

Upgrade Go SDK to v0.111.0#4583
simonfaltum merged 2 commits intomainfrom
simonfaltum/sdk-bump-v0.111.0

Conversation

@simonfaltum
Copy link
Member

Changes

  1. Update github.com/databricks/databricks-sdk-go from v0.110.0 to v0.111.0 and bump .codegen/_openapi_sha to the matching OpenAPI commit (d91ff2db7c9265e784ceac0de2059f3e5fada8c5).
  2. Run canonical generation (make generate) and sync generated outputs across commands, schemas, direct resources, and Python bundle bindings.
  3. Apply targeted post-generate fixes:
    • Add new Group field to postgres.EndpointSpec exhaustruct in postgres_endpoint.go.
    • Add new InitialEndpointSpec field to postgres.Project exhaustruct in postgres_project.go.
    • Remove duplicate ExternalLocation grants/lifecycle entries from annotations_openapi_overrides.yml (already present in annotations.yml).
    • Add group to knownMissingInRemoteType for postgres_endpoints in type_test.go.

Why

Keep CLI generated surfaces aligned with the latest Go SDK/OpenAPI changes and ensure generation remains green on lint/tests.

Tests

  • ./tools/golangci-lint run (0 issues)
  • go test ./internal/build ./bundle/internal/schema ./bundle/direct/dresources ./bundle/config/resources -count=1
  • go test ./acceptance -run '^TestAccept/bundle/refschema$' -update -timeout=30m (run twice)
  • go test ./acceptance -run '^TestAccept/bundle/refschema$' -timeout=30m
  • pushd python && make codegen && popd
  • make checks

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Member Author

@simonfaltum simonfaltum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post-generate manual fixes are annotated inline below. Everything else is output from make generate + python make codegen + refschema golden update.

AutoscalingLimitMinCu: 0,
Disabled: false,
EndpointType: "",
Group: nil,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual fix: New Group field added in SDK v0.111.0 for postgres.EndpointSpec. Added here to satisfy exhaustruct linter — the struct literal must initialize all fields.

ProjectId: config.ProjectId,
Project: postgres.Project{
Spec: &config.ProjectSpec,
Spec: &config.ProjectSpec,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual fix: New InitialEndpointSpec field added in SDK v0.111.0 for postgres.Project. Set to nil in both DoCreate and DoUpdate to satisfy exhaustruct linter.

@@ -90,7 +91,8 @@ func (r *ResourcePostgresProject) DoUpdate(ctx context.Context, id string, confi

waiter, err := r.client.Postgres.UpdateProject(ctx, postgres.UpdateProjectRequest{
Project: postgres.Project{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual fix: Same InitialEndpointSpec exhaustruct fix as above, this time in DoUpdate.

"disabled",
"endpoint_id",
"endpoint_type",
"group",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual fix: Added group to knownMissingInRemoteType for postgres_endpoints — mirrors the new Group field in EndpointSpec that isn't present in the remote type mapping.

"description": |-
PLACEHOLDER
github.com/databricks/databricks-sdk-go/service/apps.AppResource:
"app":
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual fix: Added app PLACEHOLDER entry for the new AppResource.App field introduced in this SDK version. Needed because annotations.yml generation added it but the overrides file needs a corresponding entry.

@eng-dev-ecosystem-bot
Copy link
Collaborator

eng-dev-ecosystem-bot commented Feb 24, 2026

Commit: ad69385

Run: 22344285874

Env 🟨​KNOWN 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
🟨​ aws linux 7 1 7 268 763 5:03
🟨​ aws windows 7 1 7 270 761 5:45
💚​ aws-ucws linux 8 7 364 679 5:44
💚​ aws-ucws windows 8 7 366 677 4:12
💚​ azure linux 2 9 271 761 5:38
💚​ azure windows 2 9 273 759 3:25
💚​ azure-ucws linux 2 9 369 675 6:41
💚​ azure-ucws windows 2 9 371 673 3:45
💚​ gcp linux 2 9 267 764 4:48
💚​ gcp windows 2 9 269 762 4:25
15 interesting tests: 7 KNOWN, 7 SKIP, 1 RECOVERED
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
🟨​ TestAccept 🟨​K 🟨​K 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/resources/permissions 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions 🟨​K 🟨​K 💚​R 💚​R 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct 🟨​K 🟨​K 💚​R 💚​R
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 🟨​K 🟨​K 💚​R 💚​R
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions 🟨​K 🟨​K 💚​R 💚​R 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct 🟨​K 🟨​K 💚​R 💚​R
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 🟨​K 🟨​K 💚​R 💚​R
🙈​ TestAccept/bundle/resources/postgres_branches/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/recreate 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/update_protected 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/without_branch_id 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_endpoints/recreate 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/synced_database_tables/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestAccept/ssh/connection 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 20 slowest tests (at least 2 minutes):
duration env testname
3:16 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:12 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:10 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:05 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:57 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:56 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:51 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:45 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:45 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:43 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:42 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:40 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:20 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:16 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:14 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:14 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:11 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:11 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:09 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:06 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct

The new `endpoints` command under account provisioning was added
by the SDK bump generation but the acceptance test output wasn't
regenerated.
@simonfaltum simonfaltum added this pull request to the merge queue Feb 24, 2026
Merged via the queue into main with commit 794469d Feb 24, 2026
23 checks passed
@simonfaltum simonfaltum deleted the simonfaltum/sdk-bump-v0.111.0 branch February 24, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants